/**
 * Author: Daniel Michalski
 * Date: 28.02.13
 */

public class GenMethods {
    public <T, V extends T> boolean isIn(T obj, V[] tab) {
        for (int i = 0; i < tab.length; i++) {
            if(obj.equals(tab[i]))
                return true;
        }
        return false;
    }
}
